package com.ac.app.web.form;

import java.util.Date;

import com.caac.core.util.DateUtils;
import com.caac.core.web.form.BaseSearchForm;

public class PickInvestSearchForm extends BaseSearchForm {

	private static final long serialVersionUID = 1L;

	private String prjCode;

	private String prjName;

	private String prjType;

	private String prjArea;

	private String prjIndustry;

	private Integer status;

	private String pickEntryName;

	private Date prjBegdate1;

	private Date prjBegdate2;

	private String prjBegdate1String;

	private String prjBegdate2String;
	
	private String pickTime1String;
	
	private String pickTime2String;
	
	private String prjBourse;
	
	private String key;
    private String orderstr;
	private int orderFlag=0;
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}


	public String getPrjArea() {
		return prjArea;
	}

	public void setPrjArea(String prjArea) {
		this.prjArea = prjArea;
	}

	public String getPrjCode() {
		return prjCode;
	}

	public void setPrjCode(String prjCode) {
		this.prjCode = prjCode;
	}

	public String getPrjName() {
		return prjName;
	}

	public void setPrjName(String prjName) {
		this.prjName = prjName;
	}

	public String getPrjType() {
		return prjType;
	}

	public void setPrjType(String prjType) {
		this.prjType = prjType;
	}

	public String getPrjIndustry() {
		return prjIndustry;
	}

	public void setPrjIndustry(String prjIndustry) {
		this.prjIndustry = prjIndustry;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPickEntryName() {
		return pickEntryName;
	}

	public void setPickEntryName(String pickEntryName) {
		this.pickEntryName = pickEntryName;
	}

	public Date getPrjBegdate1() {
		return prjBegdate1;
	}

	public void setPrjBegdate1(Date prjBegdate1) {
		this.prjBegdate1 = prjBegdate1;
	}

	public String getPrjBegdate1String() {
		return prjBegdate1String;
	}

	public void setPrjBegdate1String(String prjBegdate1String) {
		this.prjBegdate1String = prjBegdate1String;
		try {
			this.prjBegdate1 = DateUtils.convertToDate("yyyy-MM-dd HH:mm:ss",
					prjBegdate1String + " 00:00:00");
		} catch (Exception e) {
			this.prjBegdate1 = null;
		}
	}

	public Date getPrjBegdate2() {
		return prjBegdate2;
	}

	public void setPrjBegdate2(Date prjBegdate2) {
		this.prjBegdate2 = prjBegdate2;
	}

	public String getPrjBegdate2String() {
		return prjBegdate2String;
	}

	public void setPrjBegdate2String(String prjBegdate2String) {
		this.prjBegdate2String = prjBegdate2String;
		try {
			this.prjBegdate2 = DateUtils.convertToDate("yyyy-MM-dd HH:mm:ss",
					prjBegdate2String + " 23:59:59");
		} catch (Exception e) {
			this.prjBegdate2 = null;
		}
	}

	public String getPickTime1String() {
		return pickTime1String;
	}

	public void setPickTime1String(String pickTime1String) {
		this.pickTime1String = pickTime1String;
	}

	public String getPickTime2String() {
		return pickTime2String;
	}

	public void setPickTime2String(String pickTime2String) {
		this.pickTime2String = pickTime2String;
	}

	public String getPrjBourse() {
		return prjBourse;
	}

	public void setPrjBourse(String prjBourse) {
		this.prjBourse = prjBourse;
	}

	public int getOrderFlag() {
		return orderFlag;
	}

	public void setOrderFlag(int orderFlag) {
		this.orderFlag = orderFlag;
	}

	public String getOrderstr() {
		return orderstr;
	}

	public void setOrderstr(String orderstr) {
		this.orderstr = orderstr;
	}
}
